package com.happyhome.datamodel;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * The persistent class for the house database table.
 * 
 */
@Entity
@Table(name="PARAMETER")
public class Parameter implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long id;
	private String codePara;
	private String namePara;
	private Long value;
	private Long order;
	
	public Parameter() {
	}

	@Id
	@Column(name="ID")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name="CODE_PARA")
	public String getCodePara() {
		return codePara;
	}

	public void setCodePara(String codePara) {
		this.codePara = codePara;
	}

	@Column(name="NAME_PARA")
	public String getNamePara() {
		return namePara;
	}

	public void setNamePara(String namePara) {
		this.namePara = namePara;
	}

	@Column(name="VALUE")
	public Long getValue() {
		return value;
	}

	public void setValue(Long value) {
		this.value = value;
	}

	@Column(name="OR_DER")
	public Long getOrder() {
		return order;
	}

	public void setOrder(Long order) {
		this.order = order;
	}
}